/**
 * 
 */
package br.com.localfloripa.entities;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * @author alan
 * @10/03/2012
 *
 */


@Entity
@Table(name="opcional")
public class Opcional implements Serializable {

	private static final long serialVersionUID = -5124542579631967424L;
	
	@SequenceGenerator(name="Opcional_Seq",sequenceName="opcional_seq")
	@Id @GeneratedValue(generator="Opcional_Seq")
	private Long id;
	
	@Column(name="nome",nullable=false)
	private String nome;
	
	@Column(name="descricao",nullable=true)
	private String descricao;

	public Opcional() {
		
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getNome() {
		return nome;
	}

	public void setNome(String nome) {
		this.nome = nome;
	}

	public String getDescricao() {
		return descricao;
	}

	public void setDescricao(String descricao) {
		this.descricao = descricao;
	}
	
	
	

}
